package com.woniuxy.util;

public class Id2NumberUtil {
    /**
     * 获取Number
     * @param n
     * @return
     */
    public static String getNumber(Integer n){
        if((n+"").length()==1){
            return "00"+(n+"");
        }else if((n+"").length()==2){
            return "0"+(n+"");
        }else if((n+"").length()==3){
            return n.toString();
        }else{
            return n.toString();
        }
    }
}
